<template>
  <div class="option-result">
    <span>反算结果</span>
  </div>
  <div class="optionst03">
    <el-descriptions column="1" border>
      <el-descriptions-item label-class-name="resultLabelWidth" label="波动率" label-align="right" align="right">
        {{ formartTableWithP2Symbol(props.calcMarketNpvResult.volRate) }}
      </el-descriptions-item>
    </el-descriptions>
  </div>
</template>

<script setup>
import {getCurrentInstance} from 'vue'
import {formartTableWithP2Symbol} from '@/utils/numberUtil'

const {proxy} = getCurrentInstance()
const props = defineProps({
  calcMarketNpv: {
    type: Boolean,
    default: false
  },
  calcMarketNpvResult: {
    type: Object,
    default: {}
  }
})

</script>

<style scoped>
/deep/ .el-input__inner {
  text-align: end;
}
</style>